package com.dailyblue.project.smbms.alibaba.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dailyblue.project.smbms.alibaba.commons.bean.Provider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ProviderMapper extends BaseMapper<Provider> {
    @Select("select * from smbms_provider where state=1 order by id desc limit 1")
    Provider findLastProvider();
}
